package com.fulihui.systemcore.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fulihui.systemcore.dal.dataobj.WechatConfig;

/**
 * @author Created by Willard.Hu on 2016/6/2.
 */
public interface WechatConfigMapper {

    void insert(WechatConfig wechatConfigDO);

    boolean update(WechatConfig wechatConfigDO);

    WechatConfig queryByPK(int id);

    WechatConfig querySingle(@Param("configCode") String configCode,
                             @Param("envType") String envType);

    List<WechatConfig> query(WechatConfig condition);

}
